<!--
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2024-10-13 16:33:11
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2024-10-13 16:48:24
 * @FilePath: /aibox/src/modules/good/src/contact.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div class="page">
    <div class="section patch_default p_default">
      <div class="row">
        <div class="card radius_default p_sm">
          <div class="align-items_center justify_between">
            <label>手机号： <span>18200001111</span></label>
            <van-icon size="26px" name="phone-o" @click="callPhone(18200001111)" />
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  name: 'contact',
  setup() {
    function callPhone(number) {
      wx.makePhoneCall({
        phoneNumber: number,
      });
    }

    return {
      callPhone
    };
  },
});
</script>

<style lang="scss" scoped>
.card {
  background: #fff;
}
</style>

